Skip to content

Document the experimental Redline native compiler - #166

Merged
andreaTP merged 1 commit into
bytecodealliance:mainfrom
andreaTP:redline-docs
Sep 3, 2026
Merged

Document the experimental Redline native compiler#166
andreaTP merged 1 commit into
bytecodealliance:mainfrom
andreaTP:redline-docs

Conversation

@andreaTP

Copy link
Copy Markdown
Contributor

Doing documentation, found a little drift in the API surface that I want to fix, and a couple of minor things too.

Comment thread docs/docs/experimental/redline.md Outdated

It is a substitute for the [Build Time Compiler](../execution/build-time-compiler.md) only, not for
the interpreter or the [Runtime Compiler](../execution/runtime-compiler.md), and it is enabled on
the same Maven plugin. The bytecode is still generated, and is used whenever native code cannot be.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and is used at runtime when the architecture/os is not supported

Comment thread docs/docs/experimental/redline.md Outdated

## Feature support

Redline supports:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do a table not two lists, with green and red checkmarks

Comment thread docs/docs/experimental/redline.md Outdated
If your module uses anything from the second list the build fails. There is no per function
fallback, so a single unsupported instruction stops the whole module from compiling.

Every other execution mode supports all of the above, with the exception of SIMD,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Comment thread docs/docs/experimental/redline.md Outdated

## What to expect

**Jar size.** Native code is considerably larger than the Wasm it comes from, and by default one

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "considerably"

@andreaTP
andreaTP merged commit 59a879a into bytecodealliance:main Sep 3, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant